package com.example.demospringboot.netty.http;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author chenlei
 * @date 2020/1/8
 * @description
 **/
@ConfigurationProperties(prefix = "http")
public class HttpProperties {

    private String url;

    private Integer port;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }
}
